// P4588 write by cn_ryh